<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ include file="/view/commom/header.jspf"%>
   <form class="form-horizontal" method = "post" action = "<%=request.getContextPath()%>/TalentServlet?command=get">
<fieldset > 
		<legend ><center>求&nbsp;&nbsp;职&nbsp;&nbsp;&nbsp;&nbsp;者&nbsp;&nbsp;个&nbsp;&nbsp;人&nbsp;&nbsp;资&nbsp;&nbsp;料</center></legend>
		<div class="form-group">
				<label for="code1" class="col-sm-2 control-label">账号　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="code1"
						name="code" style = "width:300px" value = "${talent.code }" disabled = "disabled"><span id="codeTip"></span>
				</div>
			</div>
 
   		<div class="form-group">
				<label for="code1" class="col-sm-2 control-label">姓名　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="code1"
						name="name" style = "width:300px" value = "${talent.name }"><span id="codeTip"></span>
				</div>
			</div>
  <div class="form-group">
				<label for="code1" class="col-sm-2 control-label">电话　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="code1"
						name="phone" style = "width:300px" value = "${talent.phone }"><span id="codeTip"></span>
				</div>
			</div>
			
 <div class="form-group">
				<label for="code1" class="col-sm-2 control-label">Email　:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="code1"
						name="email" style = "width:300px" value = "${talent.email }"><span id="codeTip"></span>
				</div>
			</div>
  <div class="form-group" >
				<label for="code1" class="col-sm-2 control-label">年龄　:</label>
				<div class="col-sm-10">
						<select name ="age" id = "age">
							<option value="${talent.age }">-请选择-<option>
							<script>
							//页面上嵌入js可以获得EL值，而外部引入的js不能获取
							var age = '${talent.age}';
							</script>
							<script src = "<%= request.getContextPath()%>/view/talent/js/talent-info.js"></script>
						</select><br>
				</div>
			</div>
			
  <div class="form-group">
				<label for="gender" class="col-sm-2 control-label">性别　:</label>
				<input type = "radio" name ="gender" value="1">　男　　　　　　
				<input type = "radio" name = "gender" value = "2">　女<br>
			</div>
   <div class="form-group">
				<label for="code1" class="col-sm-2 control-label">爱好　:</label>
				<div class="col-sm-10">
				<input type="checkbox" name="hobby" value="看书">看书
				<input type="checkbox" name="hobby" value="编程">编程
				 <input type="checkbox" name="hobby" value="旅游">旅游
				 <input type="checkbox" name="hobby" value="音乐">音乐<br>
				</div>
				
				<div class="col-sm-10">
				<input type="submit" value="修改">
				</div>
			</div>
			
			
   </fieldset>
</form>
		<script>
			var gender = '${talent.gender}';
			var hobby='${talent.hobby}';
		</script>
<%@ include file="/view/commom/footer.jspf"%>